package com.atmc.mapper;

import com.atmc.bean.Bill;
import com.atmc.bean.Email;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface EmailMapper {
    List<Email> selectAll();
    int insertOne(Email email);
    int insertAn(Email email);
    int updateOne(Email email);
    int deleteOne(@Param("email_id")int email_id);
    Email selectOne(@Param("email_add") String email_add);
}
